package com.pdsu.graduation_design.dto;


public class OrderDTO {
    private String cname;
    private int cnumber;
    private Double price;
    private String image;
    private String cmessage;
    private int  cid;
    //商品所有者的id
    private int uid;
    private String username;
    private String sell_desc;
    private int ucnumber;

    private String order_number;
    private String create_time;
    private String state;

    @Override
    public String toString() {
        return "OrderDTO{" +
                "cname='" + cname + '\'' +
                ", cnumber=" + cnumber +
                ", price=" + price +
                ", image='" + image + '\'' +
                ", cmessage='" + cmessage + '\'' +
                ", cid=" + cid +
                ", uid=" + uid +
                ", username='" + username + '\'' +
                ", sell_desc='" + sell_desc + '\'' +
                ", ucnumber=" + ucnumber +
                ", order_number='" + order_number + '\'' +
                ", create_time='" + create_time + '\'' +
                ", state='" + state + '\'' +
                '}';
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getCnumber() {
        return cnumber;
    }

    public void setCnumber(int cnumber) {
        this.cnumber = cnumber;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getCmessage() {
        return cmessage;
    }

    public void setCmessage(String cmessage) {
        this.cmessage = cmessage;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSell_desc() {
        return sell_desc;
    }

    public void setSell_desc(String sell_desc) {
        this.sell_desc = sell_desc;
    }

    public int getUcnumber() {
        return ucnumber;
    }

    public void setUcnumber(int ucnumber) {
        this.ucnumber = ucnumber;
    }

    public String getOrder_number() {
        return order_number;
    }

    public void setOrder_number(String order_number) {
        this.order_number = order_number;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public OrderDTO() {
    }

    public OrderDTO(String cname, int cnumber, Double price, String image, String cmessage, int cid, int uid, String username, String sell_desc, int ucnumber, String order_number, String create_time, String state) {
        this.cname = cname;
        this.cnumber = cnumber;
        this.price = price;
        this.image = image;
        this.cmessage = cmessage;
        this.cid = cid;
        this.uid = uid;
        this.username = username;
        this.sell_desc = sell_desc;
        this.ucnumber = ucnumber;
        this.order_number = order_number;
        this.create_time = create_time;
        this.state = state;
    }
}
